package eerbaar.server.gamebuilder.config;

import java.util.ArrayList;
import java.util.List;

public class WhensConfig extends AbstractConfig {

    private String next;

    private final List<WhenConfig> whens = new ArrayList<WhenConfig>();

    public void addWhen(WhenConfig when) {
        this.whens.add(when);
    }

    public String getNext() {
        return this.next;
    }

    public List<WhenConfig> getWhens() {
        return this.whens;
    }

    public void setNext(String next) {
        this.next = next;
    }

}
